package com.housekeeping.housekeeping.cleanerInformation.entity;

import java.io.Serializable;

/**
 * @author hua
 * @version JDK1.8
 * @date 2021/1/18 20:05
 * 保洁员实体类
 */
public class Cleaner implements Serializable {
    //保洁员id
    private Integer id;
    //保洁员头像
    private String portrait;
    //姓名
    private String name;
    //性别 默认为 男
    private String sex;
    //年龄
    private Integer age;
    //电话号码
    private String telephoneNumber;
    //保洁员的信息简介
    private String synopsis;

    public Cleaner() {
    }

    public Cleaner(Integer id, String portrait, String name, String sex, Integer age, String telephoneNumber, String synopsis) {
        this.id = id;
        this.portrait = portrait;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.telephoneNumber = telephoneNumber;
        this.synopsis = synopsis;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getTelephoneNumber() {
        return telephoneNumber;
    }

    public void setTelephoneNumber(String telephoneNumber) {
        this.telephoneNumber = telephoneNumber;
    }

    public String getSynopsis() {
        return synopsis;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    @Override
    public String toString() {
        return "Cleaner{" +
                "id=" + id +
                ", portrait='" + portrait + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", telephoneNumber='" + telephoneNumber + '\'' +
                ", synopsis='" + synopsis + '\'' +
                '}';
    }
}
